//引入axios封装
import request from '@/utils/request'
//获取群聊任务详细
export function getReports(params) {
  return request({
    url: '/Reports/get/Reports',
    method: 'post',
    data:params
  })
}
//删除群聊任务
export function deleteReports(id) {
  return request({
    url: `/Reports/delete/Reports/${id}`,
    method: 'post',
  })
}
//新增群聊任务
export function insertReports(params) {
  return request({
    url: `/Reports/insert/Reports`,
    method: 'post',
    data:params
  })
}
//修改群聊任务
export function updateReports(params) {
  return request({
    url: `/Reports/update/Reports`,
    method: 'post',
    data:params
  })
}
